Skip to content

library pprint#380

Merged
christopheNan merged 10 commits into
python:3.7from
pshop:pprint
Oct 17, 2018
Merged

library pprint#380
christopheNan merged 10 commits into
python:3.7from
pshop:pprint

Conversation

@pshop

@pshop pshop commented Oct 10, 2018

Copy link
Copy Markdown
Contributor

No description provided.

@christopheNan christopheNan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci pour cette contribution.
Plusieurs remarques ne sont indiquées qu'une fois mais doivent s'appliquer sur toute la traduction ("retourne" --> renvoie ou les espaces insécables avant les ponctuations par exemple).

Comment thread library/pprint.po Outdated
#: ../Doc/library/pprint.rst:2
msgid ":mod:`pprint` --- Data pretty printer"
msgstr ""
msgstr ":mod:`pprint` — L’impression élégante de données"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Impression ou affichage ?

Comment thread library/pprint.po Outdated
"utilisée comme une entrée dans l’interpréteur. Si les structures formatées "
"incluent des objets qui ne sont pas de types Python fondamentaux, leurs "
"représentations peuvent ne pas être chargées. Cela peut être le cas si des "
"objets tels que des fichiers, des *sockets* ou des classes sont inclus, "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/sockets/interfaces de connexion (sockets en anglais)/

Comment thread library/pprint.po Outdated
"be the case if objects such as files, sockets or classes are included, as "
"well as many other objects which are not representable as Python literals."
msgstr ""
"Le module :mod:`pprint` fournit la possibilité « d’imprimer élégamment » des "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/fournit la possibilité/permet/ ?

Comment thread library/pprint.po Outdated
msgstr ""
"Le module :mod:`pprint` fournit la possibilité « d’imprimer élégamment » des "
"structures de données Python arbitraires sous une forme qui peut être "
"utilisée comme une entrée dans l’interpréteur. Si les structures formatées "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

j'ajouterais "ensuite" entre "utilisée" et "comme".

Comment thread library/pprint.po Outdated
"structures de données Python arbitraires sous une forme qui peut être "
"utilisée comme une entrée dans l’interpréteur. Si les structures formatées "
"incluent des objets qui ne sont pas de types Python fondamentaux, leurs "
"représentations peuvent ne pas être chargées. Cela peut être le cas si des "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/chargées/acceptables en tant que telles par l'interpréteur/ ?

Comment thread library/pprint.po Outdated
"Print the formatted representation of *object* on the configured stream, "
"followed by a newline."
msgstr ""
"Affiche sur le flux configuré la représentation formatée de *object*, suivit "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/suivit/suivie/ (la représentation)

Comment thread library/pprint.po Outdated
"objects are converted to strings. The default implementation uses the "
"internals of the :func:`saferepr` implementation."
msgstr ""
"Cette méthode est fournie sous forme de *hook* pour permettre aux sous-"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hook : point d'entrée ou méthode (à déclenchement) automatique

Comment thread library/pprint.po Outdated
"Retourne trois valeurs: la version formatée de *object* sous forme de chaîne "
"de caractères, une option indiquant si le résultat est « lisible », et une "
"option indiquant si une récursion a été détectée. Le premier argument est "
"l’objet à représenter. Le second est un dictionnaire qui contient l’ :fun:"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/second/deuxième/ (second impliquerait qu'il n'y a pas de troisième argument)

Comment thread library/pprint.po Outdated
"To demonstrate several uses of the :func:`pprint` function and its "
"parameters, let's fetch information about a project from `PyPI <https://pypi."
"org>`_::"
"org>`_ : ::"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attention, tu as modifié le texte original !

Comment thread library/pprint.po Outdated
"contents)::"
msgstr ""
"Le résultat peut être limité à une certaine profondeur en initialisant "
"*depth*. (Ellipsis est utilisé pour des contenus plus « profonds ») : ::"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ellipsis : les trois petits points sont utilisés pour indiquer

@pshop pshop changed the title library pprint 11 on 29 library pprint Oct 12, 2018
Comment thread library/pprint.po Outdated
"*width* will be formatted on each output line."
msgstr ""
"Crée une instance de :class:`PrettyPrinter`. Ce constructeur accepte "
"plusieurs paramètres nommés. Un flux de sortie peut être définit par le mot "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/définit/défini/

@pshop

pshop commented Oct 17, 2018

Copy link
Copy Markdown
Contributor Author

Apparement j'ai pas été sympa avec Travis et le Build à échoué.
On peut m'éclairer sur ce dernier message d'erreur ?

@christopheNan christopheNan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L'erreur remontée par Travis concerne un autre fichier. RAS pour ta partie.

@christopheNan
christopheNan merged commit a64afae into python:3.7 Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants